/*
 * @Description: break
 * @Version: 1.0
 * @Author: marshal
 * @Date: 2022-07-07 17:39:03
 * @LastEditors: marshal
 * @LastEditTime: 2022-07-08 17:04:41
 */
#include <stdio.h>
int main(int argc, char const *argv[])
{
    int i = 0;
    int j = 2;
    while (i < 10)
    {
        i++;
        printf("before if: i = %d\n", i);
        if (i == j)
        {
            // continue;
            break;
        }
        // break 后面的语句不会再执行
        printf("after if: i = %d\n", i);
    }
    printf("final\n");
    return 0;
}
